<?php

namespace sil29\VitrineBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Categorie
 */
class Categorie
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $nomCategorie;

    /**
     * @var \Doctrine\Common\Collections\Collection
     */
    private $elementsFacturables;

    /**
     * Constructor
     */
    public function __construct()
    {
        $this->elementsFacturables = new \Doctrine\Common\Collections\ArrayCollection();
    }

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set nomCategorie
     *
     * @param string $nomCategorie
     * @return Categorie
     */
    public function setNomCategorie($nomCategorie)
    {
        $this->nomCategorie = $nomCategorie;

        return $this;
    }

    /**
     * Get nomCategorie
     *
     * @return string 
     */
    public function getNomCategorie()
    {
        return $this->nomCategorie;
    }

    /**
     * Add elementsFacturables
     *
     * @param \sil29\VitrineBundle\Entity\ElementFacturable $elementsFacturables
     * @return Categorie
     */
    public function addElementsFacturable(\sil29\VitrineBundle\Entity\ElementFacturable $elementsFacturables)
    {
        $this->elementsFacturables[] = $elementsFacturables;

        return $this;
    }

    /**
     * Remove elementsFacturables
     *
     * @param \sil29\VitrineBundle\Entity\ElementFacturable $elementsFacturables
     */
    public function removeElementsFacturable(\sil29\VitrineBundle\Entity\ElementFacturable $elementsFacturables)
    {
        $this->elementsFacturables->removeElement($elementsFacturables);
    }

    /**
     * Get elementsFacturables
     *
     * @return \Doctrine\Common\Collections\Collection 
     */
    public function getElementsFacturables()
    {
        return $this->elementsFacturables;
    }
    /**
     * @var string
     */
    private $descriptif;


    /**
     * Set descriptif
     *
     * @param string $descriptif
     * @return Categorie
     */
    public function setDescriptif($descriptif)
    {
        $this->descriptif = $descriptif;

        return $this;
    }

    /**
     * Get descriptif
     *
     * @return string 
     */
    public function getDescriptif()
    {
        return $this->descriptif;
    }
}
